package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 食品配料对象 st_foodraw
 * 
 * @author ruoyi
 * @date 2024-02-07
 */
public class StFoodraw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 食材名称 */
    @Excel(name = "食材名称")
    private String rawname;

    /** 食材数量 */
    @Excel(name = "食材数量")
    private String rawnum;

    /** 食品id */
    @Excel(name = "食品id")
    private String foodid;
    @Excel(name = "食品名称")
    private String foodname;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRawname(String rawname) 
    {
        this.rawname = rawname;
    }

    public String getRawname() 
    {
        return rawname;
    }
    public void setRawnum(String rawnum) 
    {
        this.rawnum = rawnum;
    }

    public String getRawnum() 
    {
        return rawnum;
    }
    public void setFoodid(String foodid) 
    {
        this.foodid = foodid;
    }

    public String getFoodid() 
    {
        return foodid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rawname", getRawname())
            .append("rawnum", getRawnum())
            .append("foodid", getFoodid())
            .toString();
    }

    public String getFoodname() {
        return foodname;
    }

    public void setFoodname(String foodname) {
        this.foodname = foodname;
    }
}
